<template>
  <div>社保
    <uploadExcel :before-upload="beforeUpload" :on-success="onSuccess" />
  </div>
</template>

<script>
import uploadExcel from '@/components/lib/uploadExcel.vue'
export default {
  components: {
    uploadExcel
  },
  methods: {
    beforeUpload(file) {
      return true
    },
    onSuccess({ header, results }) {
      console.log(header, results)
    }
  }
}
</script>

<style>

</style>
